﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DrawableObjects.Actors;
using InterfaceComponents;
using DrawableObjects.Actors.Weapons;
using DrawableObjects.Actors.Aircrafts;

namespace GlobalGameClasses 
{
    /// <summary>
    /// This class provides delegate methods for each event which is used in our game.
    /// </summary>
    public class Eventhandler
    {
	    public delegate void CollideEventHandler(Actor sender, Actor actor2);

	    public delegate void RemoveEventHandler(Actor sender, bool leftBounds);

	    public delegate void DestroyEventHandler(Actor sender, Actor destroyedBy);

        public delegate void UpgradeEventHandler(Actor sender, Weaponsystem upgraded);

	    public delegate void CreateEventHandler(Actor sender);

	    public delegate void ButtonEventHandler(Button sender);

	    public delegate void GameEndEventHandler(bool gameWon);

	    public delegate void ConfirmLogin(TextBox sender);

	    public delegate void LeaveStartModeHandler();

        public delegate void Pause();
    }
}


